Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aliases from jsconfig.json not being picked up anymore #5076

Merged
merged 2 commits into from
Oct 13, 2022

Conversation

Princesseuh
Copy link
Member

Changes

Starting from 1.5.0, aliases inside jsconfig.json were not being properly picked up anymore, this fix that. The issue was that we were returning the original tsconfig.json error before checking for a jsconfig.json

Testing

We can't test this! Since we first try for a tsconfig.json before falling back to jsconfig.json, in the monorepo we always end up finding another tsconfig.json up the filesystem (notably, the new one at root added by Nate after his tsconfig.json adventures).

jsconfig.json are.. kinda rare. All of our templates includes tsconfig.json, astro add adds tsconfig.json etc. So I think it's not that bad for it to not be tested. Loading a jsconfig.json directly however is tested

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Oct 13, 2022

🦋 Changeset detected

Latest commit: 0016bbb

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants